﻿<!--
	RegExpress
	
	Copyright (c) 2010, Daniel McGaughran
	
	Licensed under the Apache Licence, Version 2.0 (the "Licence");
	you may not use this file except in compliance with the Licence.
	You may obtain a copy of the License at
	
		http://www.apache.org/licenses/LICENSE-2.0
	
	Unless required by applicable law or agreed to in writing, software
	distributed under the Licence is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the Licence for the specific language governing permissions and
	limitations under the Licence.
	
	-->

<Page x:Class="RegExpress.UI.FindMatchesPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:util="clr-namespace:XrControls.Util;assembly=XrControls"
    xmlns:hostCt="clr-namespace:RegExpress.UI.HostControls"
    Title="{Binding Title}"
    util:TemplateNavigator.Enable="True"
    >
    <DockPanel>
		<TextBlock DockPanel.Dock="Top" Style="{StaticResource TitleHeading}"
				Text="{Binding Title}" />

		<DockPanel VerticalAlignment="Center" Margin="16">
            <TextBlock DockPanel.Dock="Top" Style="{StaticResource LargeCaptionText}"
                    Text="{Binding Caption}" />
            <hostCt:FindMatches DataContext="{Binding MatchSet}" />
        </DockPanel>
    </DockPanel>
</Page>
